package com.spzx.product.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.spzx.common.core.web.domain.BaseEntity;
import java.io.Serializable;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分类品牌
 * </p>
 *
 * @author atguigu
 * @since 2024-10-26
 */
@Getter
@Setter
@TableName("category_brand")
public class CategoryBrand extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌ID
     */
    private Long brandId;

    /**
     * 分类ID
     */
    private Long categoryId;

    @Schema(description = "品牌名称")
    @TableField(exist = false)
    private String brandName;
    @Schema(description = "品牌logo")
    @TableField(exist = false)
    private String logo;
    @Schema(description = "分类名称")
    @TableField(exist = false)
    private String categoryName;

    @Schema(description = "当前分类品牌的分类id和父id集合")
    @TableField(exist = false)
    private List<Long> categoryIdList;
}
